package com.dynamic.pojo;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;



/**
 * 
 * UserT
 * 
 */
public class User implements java.io.Serializable{
	private static final long serialVersionUID = 5454155825314635342L;
	
	private static final Log LOG = LogFactory.getLog(User.class);
	//date formats
	
	//可以直接使用: @Length(max=50,message="用户名长度不能大于50")显示错误消息
	//columns START
	/**
	 *  id
	 */
	private java.lang.Integer id;
	/**
	 *  userName
	 */
	private java.lang.String userName;
	/**
	 *  password
	 */
	private java.lang.String password;
	/**
	 *  age
	 */
	private java.lang.Integer age;
	//columns END

	public User(){
	}

	public User(
		java.lang.Integer id
	){
		this.id = id;
	}

	public void setId(java.lang.Integer value) {
		this.id = value;
	}
	
	public java.lang.Integer getId() {
		return this.id;
	}
	public void setUserName(java.lang.String value) {
		this.userName = value;
	}
	
	public java.lang.String getUserName() {
		return this.userName;
	}
	public void setPassword(java.lang.String value) {
		this.password = value;
	}
	
	public java.lang.String getPassword() {
		return this.password;
	}
	public void setAge(java.lang.Integer value) {
		this.age = value;
	}
	
	public java.lang.Integer getAge() {
		return this.age;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", userName=" + userName + ", password=" + password + ", age=" + age + "]";
	}

}

